<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>滚动栏表 编辑页面</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <jsp:include page="../com/header.jsp"></jsp:include>
    <script type="text/javascript" src="../../js/comm/editcomm.js"></script>
    <script type="text/javascript">
        $(function(){
            getDataById(root + 'cms/rollTitleTable/findRollTitleTableById',"#rollTitleTableTmpl","#rollTitleTableContent");
            $("#saveOrupdate").click(function(){
                saveData(root + 'cms/rollTitleTable/saveRollTitleTable','rollTitleTableList.jsp');
            });
        });
    </script>
</head>
<body>
<section>
    <div>
        <div class="col-xs-12">
            <div class="box" style="height:900px">
                <div class="box-header">
                    <br>
                    <input type="button" value="确定" id="saveOrupdate" class="btn btn-success">
                    <input type="button" onclick="backAction('rollTitleTableEdit.jsp');" class="btn btn-info" value="返回"/>
                </div>
                <form id="submit_form" class="form-horizontal">
                    <div class="tab" id="rollTitleTableContent">
                    </div>
                </form>
            </div>
        </div>
</section>
<script type="text/x-jsrender" id="rollTitleTableTmpl">
			<fieldset>
				<input type="hidden" id="tId" name="id" value="{{:id}}" />
	        	{{!--<div class="form-group">
        			<label class="col-md-2 control-label controls" for="formGroupInputSmall">图片：</label>
       				 <div class="col-md-3">
						<div class="upload_div">
                        	<img id="myImageShow" src="../../{{:imgUrl}}" width="100px" height="100px" />
                        	<input type="hidden" id="imgUrl" name="imgUrl" value="{{:imgUrl}}"/>
                        	<input type="file" id="uploadPhotoFile" name="photoFile" class="upload_file">
                        </div>
					</div>
      			</div>--}}
				<div class="form-group">
        			<label class="col-md-2 control-label controls" for="formGroupInputSmall">滚动内容：</label>
       				 <div class="col-md-3">
						<input type="text" placeholder="请填写滚动内容" class="form-control input-sm" data-rule="required;length[0~50]" id="rollTitle_Content" name="rollTitle_Content" value="{{:rollTitle_Content}}" />
					</div>
      			</div>
			</fieldset>
	</script>
</body>
</html>